package Demo2;


import Demo1.Animal;//继承父类

public class Cat extends Animal {

    //定义方法
    public void mem(){
        System.out.println(name + "喵喵喵.....");
    }
}
